package cn.kys.modules.system.domain;

import com.alibaba.fastjson.JSONObject;

import java.util.Map;

public class GeomEntity {
    public int subtaskid;
    public int gid;
    //是否是自己创建的，如果从pg中查询出来的，就不是创建的
    public boolean isCreated = false;
    public String layername;
    public String geojson;
    public JSONObject table;
    public Map newGeom;

    public Map getNewGeom() {
        return newGeom;
    }

    public void setNewGeom(Map newGeom) {
        this.newGeom = newGeom;
    }

    public boolean isCreated() {
        return isCreated;
    }

    public void setCreated(boolean created) {
        isCreated = created;
    }

    public JSONObject getTable() {
        return table;
    }

    public void setTable(JSONObject table) {
        this.table = table;
    }

    public String getLayername() {
        return layername;
    }

    public void setLayername(String layername) {
        this.layername = layername;
    }

    public int getSubtaskid() {
        return subtaskid;
    }

    public void setSubtaskid(int subtaskid) {
        this.subtaskid = subtaskid;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public String getGeojson() {
        return geojson;
    }

    public void setGeojson(String geojson) {
        this.geojson = geojson;
    }
}
